package com.foxitcloud.webpdf.common;

public class PdfError {
	public static final int ERROR_UNKNOWN = -1;
	public static final int ERROR_SUCCESS = 0;
	/**
	 * Parse PDF file failed
	 */
	public static final int ERROR_PDFPARSE_FILE = 1;

	/**
	 * Format error
	 */
	public static final int ERROR_PDFPARSE_FORMAT = 2;
	/**
	 * PDF password error
	 */
	public static final int ERROR_PDFPARSE_PASSWORD = 3; 
	/**
	 * Unsupported PDF security handler
	 */
	public static final int ERROR_PDFPARSE_HANDLER = 4; 
	/**
	 * Unsupported PDF certificate
	 */
	public static final int ERROR_PDFPARSE_CERT = 5;
	
	/**
	 * Com error
	 */
	public static final int ERROR_COM_CALL = 6;
	
	/**
	 * exception 
	 */
	public static final int ERROR_EXCEPTION = 7; 
	/**
	 * Get Pages info error
	 */
	public static final int ERROR_MANIFEST_GET_ERROR = 8;
	/**
	 * Write data to file failed.
	 */
	public static final int ERROR_FILE_WRITE_ERROR = 9; 
	/**
	 * Create images failed.
	 */
	public static final int ERROR_CREATE_IMAGE_ERROR = 10;
	/**
	 * Get text information failed.
	 */
	public static final int ERROR_CREATE_TEXT_ERROR = 11; 
	/**
	 * Get text information failed.
	 */
	public static final int ERROR_CREATE_PATH_ERROR = 12;
	
	/**
	 * Page count exceed maximum value.
	 */
	public static final int ERROR_PDFPARSE_PAGE_COUNT_EXCEED = 13;
	
	public static final int ERROR_CREAT_FORM_INFO_ERROR = 14;
	
	/**
	 * Cache exception 
	 */
	public static final int ERROR_CACHE_EXCEPTION = 15; 
}
